const env=process.env.NODE_ENV

let MYSQL_CONF
//区分线上和线下的区别
if(env === 'dev'){
  MYSQL_CONF={
  host:"localhost",
  user:"root",
  password:"zxh1066951735",
  port:"3306",
  database:"ttzxh"
  }

}
if(env === "production"){
  MYSQL_CONF={
    host:"47.93.211.228",
  user:"ttzxh",
  password:"R7YxjrGEpchhaCex",
  port:"3306",
  database:"ttzxh"
  }

}

module.exports={
  MYSQL_CONF,
  secretOrKey:"ttzxh"
}